﻿<Window x:Class="XAMLdemo.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"        
    xmlns:local="clr-namespace:XAMLdemo"
    xmlns:sys="clr-namespace:System;assembly=mscorlib"
    Title="Window1" Height="300" Width="300">
    <Grid>
    <ContentControl> 
      <ContentControl.Content>         
        <local:BusinessObject PropertyDouble="34.0" >
          <local:BusinessObject.PropertyString>
            <sys:String> test </sys:String>
          </local:BusinessObject.PropertyString>
          <local:BusinessObject.NestedObject>
            <local:NestedObject PropertyNested="test" />
          </local:BusinessObject.NestedObject>
        </local:BusinessObject>
      </ContentControl.Content>      
    </ContentControl>
     
  </Grid>
</Window>
